import {request} from "@/utils/request.js";

export function user_login(username, password) {
    return request({
        method: 'post',
        url: '/login',
        data: {
            "username": username,
            "password": password
        }
    })
}

export function get_userinfo(username) {
    return request({
        method: 'post',
        url: '/userinfo',
        data: {
            "username": username,
        }
    })
}

